<ion-modal-view >
  <ion-header-bar class="bar-calm text-center">
  	<div class="h1 title">答题卡</div>
  	<a class="button icon ion-home" ng-click="select_subject_from_board(subject)"></a>
  </ion-header-bar>
  
  <ion-content>
  	<div class="row" ng-repeat="ss in groupSubjects" ng-if="!submitsubject">
  		<a class="col item badge" ng-repeat="s in ss" ng-click="select_subject_from_board(s)" ng-class="{'true':'badge-positive', 'false':'badge-assertive'}[s.bcorrect]">{{s.iindex}}</a>
  	</div>
  	<div class="list" ng-if="submitsubject">
  		<h3 >本次答题结果:</h3>
  		<h4 >本次答题数量:{{result.totalAnswer}}</h4>
  		<h4 class="item">正确率: {{result.rightPercent}}%</h4>
  		<h4 class="item">答对: {{result.rightCount}}</h4>
  		<h4 class="item">总题数: {{subjects.length}}</h4>
  	</div>
  </ion-content>
	<div class="bar bar-footer" ng-if="!submitsubject">
		<div class="button-bar bar-calm">
	      <a class="button" ng-click="redoSubject()">重新做题</a>
	      <a class="button" ng-click="calcResult()">提交试卷</a>
	    </div>
	</div>
</ion-modal-view>
